package com.qili.entity.supervisor;

import com.qili.annotation.Mean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/***
 * @Author:liukai
 * @Description:项目对应监理付款方式记录表
 * @param:
 * @Date: 2020/11/18 19:51
 */
@Data
@Table(name = "supervisor_project_pay")
@ToString
@EqualsAndHashCode
@Component
public class SupervisorProjectPay implements Serializable {
    @Id
    @Column(name = "spp_id")
    private String sppId;

    @Column(name = "spp_prjid")
    private String sppPrjid;

    @Column(name = "spp_no")
    private String sppNo;

    @Mean(value = "付款节点")
    @Column(name = "spp_node")
    private String sppNode;

    @Mean(value = "付款比例")
    @Column(name = "spp_persent")
    private String sppPersent;

    @Column(name = "spp_create_time")
    private String sppCreateTime;

    @Column(name = "spp_createby")
    private String sppCreateby;

    @Column(name = "spp_note")
    private String sppNote;

    /*里程序号*/
    @Column(name = "node_order")
    private String nodeOrder;
    /**
    * 付款金额
    */
    @Column(name = "pay_money")
    private String payMoney;

    /**
     * 付款时间
     */
    @Mean(value = "付款时间")
    @Column(name = "pay_date")
    private String payDate;







}
